package polimi.sc.expoquest.storage.model;
/**
 * This class represents a Tag of a picture in the application
 * @author Monica Lozano
 */
public class Tag {
	//----------------
	//ATTRIBUTES
	//----------------
	/**
	 * ID in the database, this id is related to the _id column
	 * of the table, and this is automatically autoincremented
	 */
	private int id;
	/**
	 * Is the tag text that is managed in the database
	 */
	private String tag;
	
	//----------------
	//Constructor
	//----------------
	public Tag()
	{}
	
	/**
	 * The constructor of the class
	 * @param id: The id assigned by the android framework when the row is created
	 * @param tag: The tag specified by the user
	 */
	public Tag(int id, String tag)
	{
		this.id = id;
		this.tag = tag;
	}
	//-------------------
	//GETTERS AND SETTERS
	//-------------------

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the tag
	 */
	public String getTag() {
		return tag;
	}

	/**
	 * @param tag the tag to set
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}

	
}
